<?php include("Account/_proAcct.php"); 
session_start();
if(isset($_SESSION['uid'])){
	$userDetails = '<div id="loggedInDetails">
                    	<div id="loggeinName">Hello<br/>
							<span id="loggedInNameSpan">'.$_SESSION['firstname'].' '.$_SESSION['lastname'].'</span>
						</div>
                        <div id="loggeinActions"><a href="logout.php">Logout</a></div>
                    </div>';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $pgheader;?></title>
<link rel="stylesheet" type="text/css"  href="Styles/styling.css"/>
<link rel="stylesheet" type="text/css" href="nanoscroller.css" />
<?php if(isset($links)){echo $links;}?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<?php if(isset($scripts)){echo $scripts;}?>
</head>

<body>

<div class="pagemain_header">
	<div id="mh_ribon"></div>
    <div id="mh_below_ribbon" class="cont_size_def">
    	<div id="mh_log_info">
        	<div id="logo_cont" class="mh_items">
            	<a href="../index.php"><img src="../images/munnau_hb.png" alt="munnaU.com" /></a>
            </div>
            <div id="search_info_cont" class="mh_items">
            	<div id="search_cont">
                	<form method="post" id="searchForm">
                        <span id="searchFilter" class="buttons searchCtrls">All</span>
                        <input type="text" name="searchCtt" id="searchBox" class="searchCtrls" />
                        <input type="submit" name="submitBtn" value="Search" id="searchBtn" class="buttons searchCtrls"/>
                	</form>
                </div>
                <div id="acct_siteInfo_cont" >
                	<a href="account.php">SignIn</a>
                	<a href="../mainwall.php"><?php if(isset($userDetails)){ echo $userDetails; }?></a>
                	<span id="LogSign_error"></span>
                	<div id="logginin_cont"><img src="../images/signingIn.gif" /></div>
                    
            	</div>
            </div>
        </div>
    </div>
</div>


